package com.yiyi.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 试卷题目表
 * </p>
 *
 * @author yiyi
 * @since 2021-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("exam_question")
public class ExamQuestion {

    /**
     * 对应的试卷id
     */
    @TableId("exam_id")
    private String examId;
    /**
     * 对应的题目id
     */
    @TableField("question_id")
    private String questionId;
    /**
     * 对应的题目类型
     * */
    @TableField("question_type")
    private int questionType;
}
